[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#814478: cups: OKI 320 print drivers not working correctly



Thanks for looking at this issue. 

Do any of the parallel port settings in the BIOS have an effect?

Since this is running on a Raspberry Pi I don't believe I have any immediate access to the BIOS. At least I'm not aware of any way to access it.

I believe the printer has an Emulation Mode. What is being used now?
> Does changing it have any effect?

There are two emulation modes: IBM PPR and Epson FX. Per the manual I have IBM Proprinter II/XL and IBM Graphics. The Epson options are FX86/286 and EX800/1000.

I tried these emulation modes (after setting the mode in the printer front panel menu) using IBM and Epson drivers. I Also tried Oki drivers in each mode.

After several tries I got this message from the CUPS localhost webpage: (See image). This came across while using the "Print Test Page" option in printer maintenance dropdown.

I set the printer back to OKI mL (microline) mode and changed the driver back to generic 9 pin. a "ls -la | lpr" command on the command line prints OK as it should. The Print Test Page drop down still gives me the indicated error.

Which particular feature is important to you?

There are different font styles (pitch/letter styles, subscript/superscript) that I am trying to use. 

>Please post what you get for

  grep NickName /etc/cups/ppd/<oki_ppd>

pi@kurts_office:/media/extstorage/pi/simulators/8080 $ l /etc/cups/ppd
total 20
drwxr-xr-x 2 root lp 4096 Feb 12 16:28 .
drwxr-xr-x 5 root lp 4096 Feb 12 16:28 ..
-rw-r----- 1 root lp 1401 Feb 12 16:28 OKI_DATA_CORP_ML320_1TURBO.ppd
-rw-r----- 1 root lp 5503 Feb 12 16:24 OKI_DATA_CORP_ML320_1TURBO.ppd.O
pi@kurts_office:/media/extstorage/pi/simulators/8080 $ 


pi@kurts_office:/media/extstorage/pi/simulators/8080 $ sudo cat /etc/cups/ppd/OKI*.ppd
*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"
*cupsFilter2:    "text/plain 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
pi@kurts_office:/media/extstorage/pi/simulators/8080 $ 


The "Text Only Printer" is the current generic setup.

I get the following when I set the printer driver (thru CUPS local webpage) to Oki 9 pin:

*PCFileName: "okidata9.ppd"
*Product: "(9-Pin Series)"
*Manufacturer: "Oki"
*ModelName: "Oki 9-Pin Series"
*ShortNickName: "Oki 9-Pin Series"
*NickName: "Oki 9-Pin Series"
*PSVersion: "(3010.000) 0"


This setting gives me gibberish when printing.

Hope this helps a bit.

Kurt



Print Test Page OKI_DATA_CORP_ML320_1TURBO Error

Unable to print test page:

Unsupported format "application/vnd.cups-pdf-banner".

On Fri, Feb 12, 2016 at 7:31 AM, Brian Potkin <claremont102@gmail.com> wrote:
severity 814478 normal
tags 814478 moreinfo
thanks



Thank you for the report, Kurt, I think because you can print to the
printer a reduced severity is justified.

On Thu 11 Feb 2016 at 19:47:40 -0500, Kurt Theis wrote:

> The printer driver for the OKI Microline 320 turbo printer does not send
> any recognizable output to the printer. This is a dot matrix printer.
>
> In installing cups, I chose the USB connected OKI 320 driver. When I printed a
> text file (a listing of ls-a) random characters were printed out along with a LOT
> of FF's.

Do any of the parallel port settings in the BIOS have an effect?

> When I switched the driver to generic the printer worked just fine. I switched back to the OKI
> driver, got the same bad result. I switched back to generic and all works well.

I believe the printer has an Emulation Mode. What is being used now?
Does changing it have any effect?

> FYI - Since 1994 the drivers NEVER worked for ANY oki dot matrix printer
> I tried to use. This is not a new occurance. Guessing the old drivers were just copied
> every time since then (yes, i have had a working Linux installation since '94)
>
> I very much want to use the driver for the OKI since it had features I want, that
> the generic driver does not.

Which particular feature is important to you?

Please post what you get for

  grep NickName /etc/cups/ppd/<oki_ppd>

Regards,

Brian.



--
theis.kurt@gmail.com
http://www.landfall.net

Reply to: