cups generic text only doesn't print 255 characters
I configured cups and I managed to print successfully with generic text only but my problem is that the printout always comes out as 80 columns. anything more than 80 colums wraps on the next page. I tried changing the pagesize at the textonly.ppd but it didn't work.
my textonly.ppd is *PPD-Adobe: "4.3" *% *% Text-only printer definition *% *FormatVersion: "4.3" *FileVersion: "1.1" *LanguageVersion: English *LanguageEncoding: ISOLatin1 *PCFileName: "TEXTONLY.PPD" *Manufacturer: "Generic" *Product: "(Generic)" *cupsVersion: 1.0 *cupsManualCopies: True *cupsModelNumber: 2 *cupsFilter: "text/plain 0 textonly" *ModelName: "Generic text-only printer" *ShortNickName: "Generic text-only printer" *NickName: "Generic text-only printer" *PSVersion: "(2017.000) 0" *LanguageLevel: "2" *ColorDevice: False *DefaultColorSpace: Gray *FileSystem: False *Throughput: "8" *LandscapeOrientation: Plus90 *VariablePaperSize: False *TTRasterizer: Type42 *DefaultImageableArea: Letter *ImageableArea Letter/US Letter: "18 36 594 756" *DefaultPaperDimension: Letter *PaperDimension Letter/Letter: "612 792" *OpenUI *PageSize/Media Size: PickOne *OrderDependency: 10 AnySetup *PageSize *DefaultPageSize: Letter *PageSize Letter/Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice" *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 10 AnySetup *PageRegion *DefaultPageRegion: Letter *PageRegion Letter/Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice" *CloseUI: *PageRegion *OpenUI *SendFF: Boolean *DefaultSendFF: False *SendFF True/True: "" *SendFF False/False: "" *CloseUI: *SendFF |
I've looked through the CUPS documentation, and all I can find that might help refers to fitting the print to the page. There is nothing that specifically refers to setting the number of characters per line.
You have to keep in mind that the numbers of chars per line in the print are limited by font size and page margins. So, set your margins to minimum values, and your font size to something small enough to fit 132 per line. Then try setting the fit-to-page option in your CUPS config. The doc gives an example for printing from the command-line. Quote:
http://www.linuxforums.org/forum/red...cape-mode.html |
All times are GMT -5. The time now is 04:03 AM. |