Form Feed - CUPS

Cleber cleber at multi-sc.com.br
Mon Aug 14 10:19:16 PDT 2006


> Cleber wrote:
>
>
> >> Which filter/driver you are using? PPD? Interface script?
> > Epson Dot Matrix Driver epsonc
>
> This is a foomatic printer driver which allow custom page sizes.
> And this may be you problem.
>
> Which page size is selected? Maybe you should choose a smaller one or you
> should use custom page size.
>
> You are printing from windows or linux?
> What is your input format? ASCII? Postscript?
>
> You can figure out all supported pages sizes with:
> "lpoptions -p printer -l"
>
>
> For printing you can use:
>
> lp -d printer -o PageSize=A4 /path/filename
> or
> lp -d printer -o PageSize=Custom.595x595 /path/filename
> (595 = 21cm)
>
>
> You can also use interface scripts for printing ASCII text on this printers.
> At least on dot matrix printers this can produce better results.  ;)
>
> best regards!
> Bernd
>
---------------------------------------------------------------


> What is your input format? ASCII? Postscript?
ASCII
---

> You are printing from windows or linux?
A  in Fedora/Linux and other in the lan in a pc with Win/XP

[PC LINUX]---[LX810]---[EPSON FX - SMB - IN PC WIN/XP]
|
|LAN
|
[PC WIN/XP]----[EPSON FX]

---

[root at servidoruv UniVision]# lpoptions -p printer -l
lpoptions: Destination printer has no PPD file!
[root at servidoruv UniVision]#
----
...
*OpenGroup: General/General

*OpenUI *PageSize/Page Size: PickOne
*OrderDependency: 100 AnySetup *PageSize
*DefaultPageSize: Custom
*PageSize Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevic
e"
*PageSize A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageSize 3x5/3x5: "<</PageSize[216 360]/ImagingBBox null>>setpagedevice"
*PageSize 4x6/4x6: "<</PageSize[288 432]/ImagingBBox null>>setpagedevice"
*PageSize 5x7/5x7: "<</PageSize[360 504]/ImagingBBox null>>setpagedevice"
*PageSize 5x8/5x8: "<</PageSize[360 576]/ImagingBBox null>>setpagedevice"
*PageSize 6x8/6x8: "<</PageSize[432 576]/ImagingBBox null>>setpagedevice"
*PageSize 8x10/8x10: "<</PageSize[576 720]/ImagingBBox null>>setpagedevice"
*PageSize 8x12/8x12: "<</PageSize[576 864]/ImagingBBox null>>setpagedevice"
*PageSize 11x14/11x14: "<</PageSize[792 1008]/ImagingBBox null>>setpagedevice"
*PageSize 13x19/13x19: "<</PageSize[936 1368]/ImagingBBox null>>setpagedevice"
*PageSize 16x20/16x20: "<</PageSize[1152 1440]/ImagingBBox null>>setpagedevice"
*PageSize 16x24/16x24: "<</PageSize[1152 1728]/ImagingBBox null>>setpagedevice"
*PageSize A3/A3: "<</PageSize[842 1191]/ImagingBBox null>>setpagedevice"
*PageSize Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice
"
*CloseUI: *PageSize

*OpenUI *PageRegion: PickOne
*OrderDependency: 100 AnySetup *PageRegion
*DefaultPageRegion: Custom
*PageRegion Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedev
ice"
*PageRegion A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageRegion 3x5/3x5: "<</PageSize[216 360]/ImagingBBox null>>setpagedevice"
*PageRegion 4x6/4x6: "<</PageSize[288 432]/ImagingBBox null>>setpagedevice"
*PageRegion 5x7/5x7: "<</PageSize[360 504]/ImagingBBox null>>setpagedevice"
*PageRegion 5x8/5x8: "<</PageSize[360 576]/ImagingBBox null>>setpagedevice"
...
----

Size paper = 11x21 cm
311,66 x 595  or 311 x 595?

----

[root at servidoruv ppd]# lp -d printer -o PageSize=Custom.311x595 /etc/cups/ppd/UVepson.ppd
lp: unable to print file: client-error-not-found
[root at servidoruv ppd]# lp -d printer -o PageSize=Custom.311,666x595 /etc/cups/ppd/UVepson.ppd
lp: unable to print file: client-error-not-found
[root at servidoruv ppd]# lp -d printer -o PageSize=Custom.311.666x595 /etc/cups/ppd/UVepson.ppd
lp: unable to print file: client-error-not-found

----

How do I do  not using the size of the paper that is in the ppd file?
If that is possible, I define the size of the paper in my application.

Thank you for the attention,
Cleber







More information about the cups mailing list