Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fit-to-Page Printing

Status
Not open for further replies.

MushRoom101

Programmer
Jun 6, 2008
2
CA
Is there any way in AIX to send a print job with a flag to print the job in a "fit-to-page" manner, as in MSExcel? We have a Jetform print product currently printing on a legal-size image that we would like to print to 8-1/2x11 (without reworking it) to a standard HP printer (HP 8100).
 
UNIX printing does not have an API for printing like Microsoft Windows does.
For this reason, when you print, the application is required to do the formatting.
UNIX and in particular AIX virtual printers offer only minor formatting such
as adding carriage returns to line feeds, or crlf after a certain number of
characters.
If you have a document that you are sending to a printer, it could be PostScript,
PCL, or plane text. As a previous reply mentioned, if it is PostScript, then there
is a tool called GhostScript that can act like a filter to make changes to the
document. There are also other "PostScript tools" that can be found.
It is possible to add 'filters' to the AIX virtual printer so that the filter program
can make the changes automatically while you print. For some PostScript
documents, if you understand PS well enough, the changes can be simple,
while with others they are more difficult.
For best results though, simply create the document with the right paper size.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top