Failed to open printer.device (possible SOLVED!)

A forum for general AmigaOS 4.x support questions that are not platform-specific
Post Reply
User avatar
HKvalhe
Posts: 256
Joined: Mon Sep 03, 2012 10:39 am
Location: Bergen, Norway
Contact:

Failed to open printer.device (possible SOLVED!)

Post by HKvalhe »

Snap-1 - 1116x674x24.jpg
(481.52 KiB) Downloaded 159 times
Snap-1 - 603x403x24.jpg
Snap-1 - 603x403x24.jpg (131.85 KiB) Viewed 5553 times
The pictures show me trying to run the Printer Prefs, but getting the message "Failed to open printer.device".

Further on, when pressinc Cancel, i do get inside the Printer Prefs, but when trying to pick the netprinter.device, it displays another message, saying "Can't open printer port device "netprinter.device" unit 0."

HELP! What to do? I don't want to start from scratch again. I spent a lot of work making my system as modern as it looks.

However, i have NetPrinter installed. 2 of the deutch catalogs in SYS:Locate/Catalogs/Deutch, NETPAR is moved to SYS:DEVS/DOSDrivers and turnt into a mount file adding its' tooltypes.
The netprinter.device is in DEVS:, and the NetPrinter preference is in SYS:Prefs.

Could i have changed something, without knowing it? How to make the ordinary printer prefs to work again?
Last edited by HKvalhe on Wed Mar 05, 2014 11:14 pm, edited 1 time in total.
Helge Kvalheim, Norway
AmigaOne 500 @ 1.15Ghz Samsung SSD 840 EVO 500GB, AmigaOS 4.1 Final, 2GB DDR2, Sapphire Radeon HD 6670 1GB GDDR5 PCI-E, ESI@Juli XTe PCIe audio
User avatar
LyleHaze
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 525
Joined: Sat Jun 18, 2011 5:06 pm
Location: North Florida, near the Big Bend

Re: Failed to open printer.device

Post by LyleHaze »

I usually don't take wild guesses, but I see that sys:prefs/printer appears to have tooltypes for many of the available settings.
If I got stuck with a bad setting causing trouble, I might remove the offending tooltypes and see if that clears it up.

Open Prefs, click ONCE on printer, right-click and select "information", select the "Icon" tab, and then put () around any
tooltype that might be causing you trouble. Don't forget to press "Save" after you are complete.

I don't know if that will fix it, but it's worth a try.
User avatar
HKvalhe
Posts: 256
Joined: Mon Sep 03, 2012 10:39 am
Location: Bergen, Norway
Contact:

Re: Failed to open printer.device

Post by HKvalhe »

I tried removing the tooltypes in the printer prefs, but it still shows the message saying "Failed to open printer.device".
Helge Kvalheim, Norway
AmigaOne 500 @ 1.15Ghz Samsung SSD 840 EVO 500GB, AmigaOS 4.1 Final, 2GB DDR2, Sapphire Radeon HD 6670 1GB GDDR5 PCI-E, ESI@Juli XTe PCIe audio
User avatar
gazelle
Posts: 102
Joined: Sun Mar 04, 2012 12:49 pm
Location: Frohnleiten, Austria

Re: Failed to open printer.device

Post by gazelle »

Just rename the prefs file for the printer.

Code: Select all

rename ENVARC:Sys/printer.prefs ENVARC:Sys/printer.prefs.off
rename ENV:Sys/printer.prefs ENV:Sys/printer.prefs.off
User avatar
HKvalhe
Posts: 256
Joined: Mon Sep 03, 2012 10:39 am
Location: Bergen, Norway
Contact:

Re: Failed to open printer.device

Post by HKvalhe »

gazelle wrote:Just rename the prefs file for the printer.

Code: Select all

rename ENVARC:Sys/printer.prefs ENVARC:Sys/printer.prefs.off
rename ENV:Sys/printer.prefs ENV:Sys/printer.prefs.off
I tried, but it didn't make a difference, but perhaps deleting these information? I try.
Helge Kvalheim, Norway
AmigaOne 500 @ 1.15Ghz Samsung SSD 840 EVO 500GB, AmigaOS 4.1 Final, 2GB DDR2, Sapphire Radeon HD 6670 1GB GDDR5 PCI-E, ESI@Juli XTe PCIe audio
User avatar
HKvalhe
Posts: 256
Joined: Mon Sep 03, 2012 10:39 am
Location: Bergen, Norway
Contact:

Re: Failed to open printer.device (possible SOLVED!)

Post by HKvalhe »

Snap-1 - 595x400x24.jpg
Snap-1 - 595x400x24.jpg (71.32 KiB) Viewed 5505 times
Following the guide from Solie to use Postscript, and installed the lpr.device, it solved the problem. Still, for the Generic, the error is still there, and the icon for it doesn't show up.

I might say that the failure of displaying this preference is half-solved, but now we know for sure where the problem is, so it should be solved completely, really.

It was quite a mess. I was near to force myself to re-install everything from scratch again. Luckily, i don't have to do that.

If any of you can help me bring back the setting also for Generic, then i am happy :)

Thanks for any help so far :)
Helge Kvalheim, Norway
AmigaOne 500 @ 1.15Ghz Samsung SSD 840 EVO 500GB, AmigaOS 4.1 Final, 2GB DDR2, Sapphire Radeon HD 6670 1GB GDDR5 PCI-E, ESI@Juli XTe PCIe audio
User avatar
ZeroG
Posts: 124
Joined: Sat Jun 18, 2011 12:31 pm
Location: Germany

Re: Failed to open printer.device (possible SOLVED!)

Post by ZeroG »

The printer you are using with netprinter.device is switched on, or?
User avatar
HKvalhe
Posts: 256
Joined: Mon Sep 03, 2012 10:39 am
Location: Bergen, Norway
Contact:

Re: Failed to open printer.device (possible SOLVED!)

Post by HKvalhe »

ZeroG wrote:The printer you are using with netprinter.device is switched on, or?
It wasn't switched on.

But however, i managed to solve this problem by copying the 3 printer prefs from the AmigaOS 4.1 Update 2 CD.

I have made a new backup and i will try again, but this time ONLY fiddling with the NetPrinter prefs.
Helge Kvalheim, Norway
AmigaOne 500 @ 1.15Ghz Samsung SSD 840 EVO 500GB, AmigaOS 4.1 Final, 2GB DDR2, Sapphire Radeon HD 6670 1GB GDDR5 PCI-E, ESI@Juli XTe PCIe audio
Post Reply