LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   custom page size problem (https://www.linuxquestions.org/questions/ubuntu-63/custom-page-size-problem-773199/)

fachamix 12-03-2009 08:30 AM

custom page size problem
 
I have Ubuntu 9.04
I manage my printting system with CUPS

When I choose the page size, and I put it to Custom , ... I dont know where to put the sizes.

another thing , If I put and already existing page size, Ubuntu or CUPS does not respect it .

I have to print some BANNERS, of 7cm high and 13cm long, special size as you can see


any suggestion ??

bartonski 12-04-2009 05:02 PM

Quote:

Originally Posted by fachamix (Post 3778380)
I have Ubuntu 9.04
I manage my printting system with CUPS

When I choose the page size, and I put it to Custom , ... I dont know where to put the sizes.

another thing , If I put and already existing page size, Ubuntu or CUPS does not respect it .

I have to print some BANNERS, of 7cm high and 13cm long, special size as you can see


any suggestion ??

I have a partial solution, depending on what you're trying to print.

I was able to print text on 3"x5" index cards using 'enscript'. This should be fairly close to the size that you're trying to print.

check out the thread here:

http://www.linuxquestions.org/questi...a-cups-766115/

The media that you're trying to print on is set by the printer, the print driver and the 'ppd' file in /etc/cups/ppd (ppd is the PostScript printer description file), this will be named /etc/cups/ppd/<name of your printer>.ppd.

Changing the ppd file changes which media types are enabled in the cups print menus, but I was never able to select these and make them work. Always back up ppd files before you edit them, otherwise you'll have to re-install the printer if you mess something up.

If you find a better solution that is capable of printing more than just text on to custom paper, please post this information back in this thread, I'm still looking for a way to to do this.

fachamix 12-04-2009 05:51 PM

OK ,. thanks a lot bartonski for the reply.

I just did it ... some way.

I have Ubuntu 9.04
I installed a printer. The printer must give you the chance to put the papesize to Custom.
to check this, you do:

lpoptions -p <your_printer_name> -l

see in the result, in the paper size part, if Custom.WIdhtXHEIGH or comething like that appears.

if it does, it means you can use this method.


to print a document in a 10x10cm area (your paper size) you will do:

lp -o media=Custom.10x10cm <your_filename_here>

it will create a 10x10cm area starting from the top left corner of the paper sheet, and will print you the filename in that area.


I also recommend you to read this usefull page:

http://www.cups.org/documentation.php/options.html

.

I am having trouble with teh epson fx-880, the letters a like crap quality.
have you work with a dot matrix printer??? could you set the text font ???

the text is really small. I am making this printer work with a Generic Dot Matrix driver provided in the default install of ubuntu 9.04

I also found a driver called OMNI for this printer, I dont know how to install it

can you give me a hand???

fachamix 12-04-2009 06:10 PM

bartonski , I just read the post link you gave me.

I think that what I told you, will help you.

I did not understand the enscript thing you used, I am newbie in this linux thing.

the ppd info you gave was really help full.

I hope the info I gave you can help you.

write back and tell me

bartonski 12-04-2009 10:45 PM

Quote:

Originally Posted by fachamix (Post 3780320)

lpoptions -p <your_printer_name> -l

see in the result, in the paper size part, if Custom.WIdhtXHEIGH or comething like that appears.

if it does, it means you can use this method.

Hm. Tried this, no dice:

Code:

$ lpoptions -l
PrintoutMode/Printout Mode: Draft Draft.Gray Normal *Normal.Gray High High.Gray
PageSize/Page Size: *Letter A4 11x17 A3 A5 B5 Env10 EnvC5 EnvDL EnvISOB5 EnvMonarch Executive Legal
PageRegion/PageRegion: Letter A4 11x17 A3 A5 B5 Env10 EnvC5 EnvDL EnvISOB5 EnvMonarch Executive Legal
InputSlot/Media Source: *Default Tray1 Tray2 Tray3 Tray4 Tray5 Tray6 Tray7 Manual
ColorMode/Color Mode: *FromPrintoutMode Color Grayscale
PrinterResolution/Resolution: *FromPrintoutMode 300x300dpi 600x600dpi 1200x600dpi 1200x1200dpi

I'm not entirely surprised, all of the media source stuff is set in the ppd file, I would have seen 'Custom' if it were in there...

Quote:

I am having trouble with teh epson fx-880, the letters a like crap quality.
have you work with a dot matrix printer??? could you set the text font ???

the text is really small. I am making this printer work with a Generic Dot Matrix driver provided in the default install of ubuntu 9.04

I also found a driver called OMNI for this printer, I dont know how to install it

can you give me a hand???
I'll give it a shot...

fachamix 12-05-2009 03:38 PM

thanks for the reply.
Sorry this solution doesnt work for you.
maybe ... just maybe, I can recommend you to update cups.
in the synaptic inside Ubuntu , searching for ppd and cups and printing you can find some ineteresting packages, some with extra ppd`s files.

but be carefull, because, I update Ubuntu , and in the Generic drivers I dont have any more the Text Only driver ... dont know why :P, So I re install Ubuntu 9.04

If you know something about the printer I told you, let me know

thanks a lot


All times are GMT -5. The time now is 11:18 AM.