× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The person that designed the web page had the PDF Iframe set to height
500px. So it put a scroll bar on the PDF.

I changed it 1500px and it prints 3 pages, but also prints blanks if the PDF
is only one page. Iframe doesn't allow 100%.

Looks like Object doesn't either.

Jack
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Raul A. Jager W.
Sent: Thursday, May 30, 2013 8:30 AM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] Printing a web page on a kiosk

I usualy print documents generated with CGIDEV2 from the browser, without
user intervention.

The "page" is in postscript, I do it using a mask with postscript commands
instead of html, and I send it to the browser as type "print".
The first time, the browser does not know how to processes it, and asks the
user, reply: use "lpr" always. From then on, the page goes directly to the
printer.


Booth Martin wrote:

Generating a simple HTML document is pretty straight forward.

Beyond that, I just clicked on the "Print Preview" choice on my browser
and it generated a 5 page document to look at.

While not directly applicable to this problem, I did a basic set-up
like this in this project:

http://www.martinvt.com/Ice_Cream_Project/Ice_Cream__HTML_/ice_cream__h
tml_.html

fwiw

On 5/29/2013 5:27 PM, Nathan Andelin wrote:


The browser print function only prints what's visible in the page ...


That doesn't sound right. What do you mean by "browser print function"?
Evoking window.print() using JavaScript? Keying CTRL + P to bring up the
browser print dialog? That enables you to print multi-page documents.



if the PDF is larger than pages the browser only prints what's
visible in the PDF viewer.


Printing only "what's visible" sounds like screen capture. But that
doesn't make sense.


We have the data on the Iseries,


So there shouldn't be a problem generating an HTML doc that shows what a
user might want to print.



the PDF is static and on the Iseries too.


You could create an image of it and embed that in your HTML document.

-Nathan






--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.