Xerox 7750 Media Size switching

Anonymous anonymous at easysw.com
Wed Feb 1 15:16:57 PST 2006


<SNIP/>


> > > Here is the sample control file (with the non-printable characters removed) when the pdf is printed from our application or with the command 'lp -d printer -o media=tabloid file.pdf' :
> > > G
> > > attributes-charset utf-8 H
> > > attributes-natural-language en E
> > > printer-uri;ipp://127.0.0.1:631/printers/10.10.14.249 B
> > > requesting-user-password 002a003300240 B
> > > job-originating-user-name - B
> > > document-format application/pdf A
> > > media tabloid!
> > > copies I
> > > document-format application/pdf!job-priority 2B
> > > job-name UntitledB
> > > job-originating-host-name localhost!
> > > job-id .#
> > > job-state !
> > > job-media-sheets-completed E
> > > job-printer-uri <http://127.0.0.1:631/printers/10.10.14.249B
> > > job-name Untitled!job-k-octets !
> > > time-at-creation C�? N!
> > > time-at-processing C�? N!
> > > time-at-completed C�? OD
> > > job-hold-until no-holdB
> > > job-sheets noneB none
>
<SNIP/>

> The PDF is OK, the MediaBox specifies tabloid size exactly. I'd strongly suggest to
> convert the PDF to a PostScript job by
> 	pdftops -paper match your_PDF_file your_PS_file
> (using the pdtfops utility from the xpdf suire; make sure using a version of 3.0x at least)
> and print the PS file. If it then prints on the correct media size, your issue is due to
> the restrictions of CUPS' pdftops filter (which seems to support only letter, legal, A4, A3,
> and a "universal" format which has dimensions someshere between letter and A4.
>
> If what I suspect s true, you could resort to the "alternate pdftops filter" as I suggested
> earlier.
>
> Helge
>

Hi,

I installed the xpdf tools package on the Mac and converted the pdf as you suggested.  When I print the ps file with the command:
lp -d printer -o media=tabloid file.ps
It prints as before, by shrinking the document onto Letter paper.

When I print the pdf file from the Preview application (setting the page setup for tabloid) it prints ok on tabloid paper.  The control file that is created looks like the following with the apple and XRX name/value pairs embedded - is this what we are trying to get in the control file? Or is this here because of some preprocessing that Preview has done?

G
attributes-charset utf-8H
attributes-natural-language en-usE
printer-uri ;ipp://localhost:631/printers/10.10.14.249 B
job-originating-user-name admin B
job-name 10160319f.pdfI
document-format application/pdf "
XRXJog B
XRXLastPageSource SameB
XRXPrintingOptimization SpeedB
XRXStapling NoneB
XRXMismatch PromptTypeMismatchB
XRXJobType Normal"
XRXImageSmoothing B
XRXColor AutomaticB
MediaType AutoSelectB
Slipsheet NoneB
XRXGrayline AutomaticB
XRXJobPassword 9102B
OutputBin TopBinB
OutputMode StandardB
XRXJobName 10160319f.pdfB
XRXSlipSheetSource Tray1B
AP_D_InputSlot !
copies "
collate D
sides 	one-sidedD
media TabloidB/
com.apple.print.PrinterInfo.PMColorDeviceID..n.-1946474323B
OutputOrder NormalB 5
com.apple.print.PrintSettings.PMPrimaryPaperFeed..a.0 PageSizeB 5
com.apple.print.PrintSettings.PMPrimaryPaperFeed..a.1 B,
com.apple.print.PrintSettings.PMLastPage..n.2147483647B)
com.apple.print.JobInfo.PMApplicationName PreviewB,
com.apple.print.DocumentTicket.PMSpoolFormat application/pdfB*
com.apple.print.PrintSettings.PMCopies..n. 1" /
com.apple.print.PrintSettings.PMCopyCollate..b. B
job-hold-until no-holdB 9
com.apple.print.PrintSettings.PMLayoutTileOrientation..n. 1B
DestinationPrinterID 10.10.14.249B-
com.apple.print.PrintSettings.PMDuplexing..n. 1B 3
com.apple.print.PrintSettings.PMLayoutDirection..n. 1B -
com.apple.print.PrintSettings.PMFirstPage..n. 1B 2
com.apple.print.PrintSettings.PMPageRange..a.0..n. 1B 2
com.apple.print.PrintSettings.PMPageRange..a.1..n. 2147483647B 5
com.apple.print.PrintSettings.PMColorMatchingMode..n. 0B 6
com.apple.print.PrintSettings.PMColorSyncProfileID..n. -247571178B $
com.apple.print.JobInfo.PMOutputType application/postscriptB 3
com.apple.print.PrintSettings.PMTotalBeginPages..n. 1B /
com.apple.print.PrintSettings.PMOrientation..n. 1B !
com.apple.print.JobInfo.PMJobName 10160319f.pdfB 1
com.apple.print.PrintSettings.PMLayoutColumns..n. 1B 4
com.apple.print.PrintSettings.PMTotalSidesImaged..n. 1" *
com.apple.print.PrintSettings.PMBorder..b. B 3
com.apple.print.PrintSettings.PMDestinationType..n. 1" -
com.apple.print.PrintSettings.PMLayoutNUp..b. B 3
com.apple.print.PrintSettings.PMColorSpaceModel..n. 3B "
com.apple.print.JobInfo.PMJobOwner AdministratorB .
com.apple.print.PrintSettings.PMLayoutRows..n. 1B
job-priority..n. 50!
job-priority 2B
job-originating-host-name localhost!
job-id 8#
job-state !
job-media-sheets-completed E
job-printer-uri <http://127.0.0.1:631/printers/10.10.14.249B
job-name 10160319f.pdf!
job-k-octets !
time-at-creation Cà¸]!
time-at-processing Cà¸]!
time-at-completed Cà¸^B
job-sheets noneB none


Thanks for your ideas,
RG





More information about the cups mailing list