LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-03-2009, 08:30 AM   #1
fachamix
Member
 
Registered: Oct 2009
Posts: 122

Rep: Reputation: 16
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 ??
 
Old 12-04-2009, 05:02 PM   #2
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48
Quote:
Originally Posted by fachamix View Post
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.
 
Old 12-04-2009, 05:51 PM   #3
fachamix
Member
 
Registered: Oct 2009
Posts: 122

Original Poster
Rep: Reputation: 16
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???
 
Old 12-04-2009, 06:10 PM   #4
fachamix
Member
 
Registered: Oct 2009
Posts: 122

Original Poster
Rep: Reputation: 16
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
 
1 members found this post helpful.
Old 12-04-2009, 10:45 PM   #5
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48
Quote:
Originally Posted by fachamix View Post

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...
 
Old 12-05-2009, 03:38 PM   #6
fachamix
Member
 
Registered: Oct 2009
Posts: 122

Original Poster
Rep: Reputation: 16
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
get Page size eshwar_ind Programming 9 09-29-2014 11:46 AM
Cups Custom Size Page alek66 Linux - Software 0 07-28-2009 04:50 PM
Strange page size problem on e-bay raysr SUSE / openSUSE 1 02-10-2009 06:30 PM
ps2pdf bounding box & page size problem cdhgee Linux - Software 5 11-24-2007 12:36 AM
Brother HL-5050 on debian with custom page size Trystero Linux - Hardware 1 02-08-2005 05:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration