> From [EMAIL PROTECTED] Thu Oct 3 18:21:55 2002 > Date: Thu, 3 Oct 2002 17:25:13 -0700 > From: Akop Pogosian <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: LPRng: Selecting paper size (A4 vs Letter) > > Very often our users come up with files that fail to print on some of > our printers. The most common cause so far is that those files are > formated for A4 paper size and some printers don't like that. For > example, I am getting this error in the lpq output right now after > trying to print one such file on an HP ColorLaserjet 5m: > > Filter_status: Error: configurationerror; OffendingCommand: > setpagedevice; ErrorInfo: PageSize --nostringval-- at 16:59:18.695 > > It is possible to edit postscript files and remove some incantations > from them to make these files print. However, this is not a good long > term solution. Does anyone know if there is a utility that could be > used from a print filter perhaps that would ensure that all documents > are formated for a certain paper size (say letter)? > > I noticed that ifhp has options for paper size selection (letter, > legal, a1, etc). Do those options cause the document to be reformatted > for this paper size or do they just somehow cause the paper selection > happen on the printer by other means? Anyways, I tried the following > two entries for a printer in my printcap and I am still getting the > same error message: > > :ifhp=model=hpcolorlj5m,paper=letter > and > :ifhp=model=hpcolorlj5m,letter > > Does anyone know how to handle this problem? > > > -akop
Most likely somebody else will have responded to this, but here are some thoughts. The psutils package has a psresize command that will resize PostScript jobs: psresize -Pletter should work... but I must admit that I have not had much luck with this. Patrick Powell Astart Technologies [EMAIL PROTECTED] 6741 Convoy Court Network and System San Diego, CA 92111 Consulting 858-874-6543 FAX 858-751-2435 LPRng - Print Spooler (http://www.lprng.com) ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
