Hello,

I have been using lp5250d along with scs2pdf. I am getting a pdf however it comes up with a page size in the pdf viewer of 10.39 by 9 instead of the expected 11 x 8.5.

Text on the page is also shifted outside the top margin and missing about 1/2 of the page.

I have executed scs2pdf -s and I have noticed the following lines of interest:
Mar 22 07:28:16 localhost scs2pdf[24201]: SHM set left margin to 1
Mar 22 07:28:16 localhost scs2pdf[24201]: SHM set right margin to 27648
Mar 22 07:28:16 localhost scs2pdf[24201]: STO used unhandled page rotation: Setting text orientation based on SPPS command
Mar 22 07:28:16 localhost scs2pdf[24201]: Begin Page Presentation Media (PPM)
Mar 22 07:28:16 localhost scs2pdf[24201]: Length of PPM parameters: 10
Mar 22 07:28:16 localhost scs2pdf[24201]: Forms control = 1
Mar 22 07:28:16 localhost scs2pdf[24201]: Source drawer = 1
Mar 22 07:28:16 localhost scs2pdf[24201]: Destination drawer offset = 0
Mar 22 07:28:16 localhost scs2pdf[24201]: Destination drawer = 0
Mar 22 07:28:16 localhost scs2pdf[24201]: Quality = 1
Mar 22 07:28:16 localhost scs2pdf[24201]: Duplex = 2
Mar 22 07:28:16 localhost scs2pdf[24201]: End Page Presentation Media (PPM)
Mar 22 07:28:16 localhost scs2pdf[24201]: SFG set global font ID 0cc
Mar 22 07:28:16 localhost scs2pdf[24201]: SFG set font width 108
Mar 22 07:28:16 localhost scs2pdf[24201]: Using 13 CPI
Mar 22 07:28:16 localhost scs2pdf[24201]: SFG set mono-spaced font
Mar 22 07:28:16 localhost scs2pdf[24201]: SVM set top margin to 180
Mar 22 07:28:16 localhost scs2pdf[24201]: SPPS (width = 14256) (length = 12240)
Mar 22 07:28:16 localhost scs2pdf[24201]: Using landscape orientation
Mar 22 07:28:16 localhost scs2pdf[24201]: SSLD set LPI to 8
Mar 22 07:28:16 localhost scs2pdf[24201]: SCGL = ff
Mar 22 07:28:16 localhost scs2pdf[24201]: Begin Page Presentation Media (PPM)
Mar 22 07:28:16 localhost scs2pdf[24201]: Length of PPM parameters: 10
Mar 22 07:28:16 localhost scs2pdf[24201]: Forms control = 0
Mar 22 07:28:16 localhost scs2pdf[24201]: Source drawer = 0
Mar 22 07:28:16 localhost scs2pdf[24201]: Destination drawer offset = fe
Mar 22 07:28:16 localhost scs2pdf[24201]: Destination drawer = 0
Mar 22 07:28:16 localhost scs2pdf[24201]: Quality = 0
Mar 22 07:28:16 localhost scs2pdf[24201]: Duplex = 2
Mar 22 07:28:16 localhost scs2pdf[24201]: End Page Presentation Media (PPM)
Mar 22 07:28:16 localhost scs2pdf[24201]: SCGL = ff
Mar 22 07:28:16 localhost scs2pdf[24201]: Form feed
Mar 22 07:28:16 localhost scs2pdf[24201]: Begin Page Presentation Media (PPM)
Mar 22 07:28:16 localhost scs2pdf[24201]: Length of PPM parameters: 10
Mar 22 07:28:16 localhost scs2pdf[24201]: Forms control = 0
Mar 22 07:28:16 localhost scs2pdf[24201]: Source drawer = 0
Mar 22 07:28:16 localhost scs2pdf[24201]: Destination drawer offset = 0
Mar 22 07:28:16 localhost scs2pdf[24201]: Destination drawer = 0
Mar 22 07:28:16 localhost scs2pdf[24201]: Quality = 0
Mar 22 07:28:16 localhost scs2pdf[24201]: Duplex = 1
Mar 22 07:28:16 localhost scs2pdf[24201]: End Page Presentation Media (PPM)


As for SPPS (width = 14256) (length = 12240), it does not seems to be the expected measurements. I have to say that that the report has 132 columns.

Based on my testing, the 9 inch measurement is pretty constant however the 10.39 expands if the report uses the full width available.

Additionnaly and maybe related, the 2nd page of the report does not have the text shifting outside the paper and begins correctly close to 1/2 inch to the top.

I have also noticed that at times, after printer the same report a couple times, lp5250d seems to be generating an scs file that causes scs2pdf to report a Floating point exception. The same file however looks normal with scs2ascii.

I would appreciate any help. I am ready to do some more tests as required. Thanks a lot !!
J.

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-2021 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.