*
The moose likes Linux / UNIX and the fly likes LQ 2180 Shifting 1/2 mm lower every break page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "LQ 2180 Shifting 1/2 mm lower every break page" Watch "LQ 2180 Shifting 1/2 mm lower every break page" New topic
Author

LQ 2180 Shifting 1/2 mm lower every break page

Albert Kam
Ranch Hand

Joined: Oct 18, 2007
Posts: 58
Hello all,

I've been struggling for weeks with this seemingly minor problem. I just need to print Folio sized (612 936) continuous form papers.

I'm using cups-1.1.21-5 with SuSE 9.2
The printer is Epson LQ 2180

Before this need to print in Folio paper, i've been successfully with the Epson 24 pin printers ppd (epson24.ppd). I realized that by default, the epson24.ppd doesnt haev the entry for Folio paper size, so i added one and save it to another ppd file name, use the ppd for printing folio sized papers.

Everything seems OK at first glance, the addition i made appear in kprint's media size list, which confirms my changes actually being used.

But the output is not right. Everytime the page breaks (changing to a new paper, in a continuous form), the content shifts 1/2 mm lower, and this accumulates in every page changes. So in page five, the first page and the fifth page will have about 2.5 mm in difference.

I've already tried several ppd available out there, like the lq2180.ppd, but the result is even further from what i want. I tried using the lq-24.ppd, adding the entry for Folio paper size, and still wrong.

Could anyone please please help ? I'm quite desparate about what to do next ..

Here's the ppd i'm using (please be aware the entry i added is the HVS paper size, which is another name of Folio, in my country at least ) :

*PPD-Adobe: "4.3"
*%
*% "$Id: sofcoepson24.ppd,v 1.6 2002/12/17 19:00:08 swdev Exp $"
*%
*% Sample EPSON 24-Pin driver PPD file for the Common UNIX Printing
*% System (CUPS).
*%
*% Copyright 1997-2003 by Easy Software Products.
*%
*% These coded instructions, statements, and computer programs are the
*% property of Easy Software Products and are protected by Federal
*% copyright law. Distribution and use rights are outlined in the file
*% "LICENSE.txt" which should have been included with this file. If this
*% file is missing or damaged please contact Easy Software Products
*% at:
*%
*% Attn: CUPS Licensing Information
*% Easy Software Products
*% 44141 Airport View Drive, Suite 204
*% Hollywood, Maryland 20636-3111 USA
*%
*% Voice: (301) 373-9603
*% EMail: cups-info@cups.org
*% WWW: [www.cups.org]
*%
*FormatVersion: "4.3"
*FileVersion: "1.1"
*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*PCFileName: "SOFCOEPSON24.PPD"
*Manufacturer: "ESP"
*Product: "(CUPS v1.1)"
*cupsVersion: 1.1
*cupsManualCopies: True
*cupsModelNumber: 1
*cupsFilter: "application/vnd.cups-raster 0 rastertoepson"
*ModelName: "Sofco EPSON 24-Pin Series"
*ShortNickName: "Sofco EPSON 24-Pin Series"
*NickName: "Sofco EPSON 24-Pin Series CUPS v1.1"
*PSVersion: "(3010.000) 550"
*LanguageLevel: "3"
*ColorDevice: False
*DefaultColorSpace: Gray
*FileSystem: False
*Throughput: "1"
*LandscapeOrientation: Plus90
*VariablePaperSize: True
*TTRasterizer: Type42

*OpenUI *PageSize/Media Size: PickOne
*OrderDependency: 10 AnySetup *PageSize
*DefaultPageSize: A4
*PageSize Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
*PageSize Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice"
*PageSize A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageSize HVS: "<</PageSize[612 936]/ImagingBBox null>>setpagedevice"
*PageSize FanFoldUS: "<</PageSize[1071 792]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageSize

*OpenUI *PageRegion: PickOne
*OrderDependency: 10 AnySetup *PageRegion
*DefaultPageRegion: A4
*PageRegion Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
*PageRegion Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice"
*PageRegion A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageRegion HVS: "<</PageSize[612 936]/ImagingBBox null>>setpagedevice"
*PageRegion FanFoldUS: "<</PageSize[1071 792]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageRegion

*DefaultImageableArea: A4
*ImageableArea Letter: "18.0 18.0 594.0 774.0"
*ImageableArea Legal: "18.0 18.0 594.0 990.0"
*ImageableArea A4: "18.0 18.0 577.0 824.0"
*ImageableArea HVS: "18.0 18.0 594.0 927.0"
*ImageableArea FanFoldUS: "18.0 18.0 1053.0 774.0"

*DefaultPaperDimension: A4
*PaperDimension Letter: "612 792"
*PaperDimension Legal: "612 1008"
*PaperDimension A4: "595 842"
*PaperDimension HVS: "612 936"
*PaperDimension FanFoldUS: "1071 792"

*MaxMediaWidth: "1080"
*MaxMediaHeight: "86400"
*HWMargins: 0 0 0 0
*CustomPageSize True: "pop pop pop <</PageSize[5 -2 roll]/ImagingBBox null>>setpagedevice"
*ParamCustomPageSize Width: 1 points 36 1080
*ParamCustomPageSize Height: 2 points 36 86400
*ParamCustomPageSize WidthOffset: 3 points 0 0
*ParamCustomPageSize HeightOffset: 4 points 0 0
*ParamCustomPageSize Orientation: 5 int 0 0

*OpenUI *Resolution/Output Resolution: PickOne
*OrderDependency: 20 AnySetup *Resolution
*DefaultResolution: 120dpi
*Resolution 60dpi/60 DPI: "<</HWResolution[60 60]/cupsRowCount 8>>setpagedevice"
*Resolution 120dpi/120x60 DPI: "<</HWResolution[120 60]/cupsRowCount 8>>setpagedevice"
*Resolution 180dpi/180 DPI: "<</HWResolution[180 180]/cupsRowCount 24>>setpagedevice"
*Resolution 360x180dpi/360x180 DPI: "<</HWResolution[360 180]/cupsRowCount 24>>setpagedevice"
*Resolution 360dpi/360 DPI: "<</HWResolution[360 360]/cupsRowCount 48>>setpagedevice"
*CloseUI: *Resolution

*DefaultFont: Courier
*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
*Font Bookman-Demi: Standard "(001.004S)" Standard ROM
*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
*Font Bookman-Light: Standard "(001.004S)" Standard ROM
*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
*Font Courier: Standard "(002.004S)" Standard ROM
*Font Courier-Bold: Standard "(002.004S)" Standard ROM
*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
*Font Courier-Oblique: Standard "(002.004S)" Standard ROM
*Font Helvetica: Standard "(001.006S)" Standard ROM
*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
*Font Palatino-Bold: Standard "(001.005S)" Standard ROM
*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
*Font Palatino-Italic: Standard "(001.005S)" Standard ROM
*Font Palatino-Roman: Standard "(001.005S)" Standard ROM
*Font Symbol: Special "(001.007S)" Special ROM
*Font Times-Bold: Standard "(001.007S)" Standard ROM
*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
*Font Times-Italic: Standard "(001.007S)" Standard ROM
*Font Times-Roman: Standard "(001.007S)" Standard ROM
*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
*Font ZapfDingbats: Special "(001.004S)" Standard ROM
*%
*% End of "$Id: sofcoepson24.ppd,v 1.6 2002/12/17 19:00:08 swdev Exp $".
*%


Be nice !
 
Consider Paul's rocket mass heater.
 
subject: LQ 2180 Shifting 1/2 mm lower every break page
 
Similar Threads
Printing with POS Printer
Printing in Unix
Relation between pixel,cm,mm
How do i apply font styles and sizes to a string ?
Linux + Java Printing