Sharing a GDI printer as Postscript
I have a Lexmark E210 printer - one of the "Windows only" printers, but a fairly OK printer as such, although it is now a "Windows no-longer" printer, since Windows 7 has no driver. Linux does, of course, and it work fine under Linux, but my wife feels she must use Windows 7, so what can a man do?
This is what: I have an old laptop that I have installed Debian on (no desktop), I have set the printer up in CUPS and shared it via Samba, and it is visible from Windows - the problem is that it is visible as a Lexmark E210 and Windows comes back, saying "What is that? I don't know anything".
However, I feel that it should be possible to set it up in CUPS so that it will accept Postscript input (through Ghostscript) - then I can tell Windows that this is a generic Postscript printer and everything will be fine; but how do I do that?
Comments
-
Good question! If you have a Windows XP installation disc, then try installing XP in a virtual machine on your wife's Win7 system that can print to the shared printer. Given that she will probably object to "jumping through hoops" to do that, your other option is to get a more suitable network printer... :-)
Just remember, a printer is just a few $100's - a wife is priceless!0 -
Well, I might buy a new printer, but this is A Challenge! Besides, it is a really nice printer, and knowing Linux, I feel strongly that this ought to be possible.
The problem we have is that W7 has no driver for this particular printer - even though I can share it from Linux, Windows still sees it as a Lexmark E210. The printer works fine from Linux, so if I could put a layer between that could translate Postscript to whatever the printdriver in Linux expects, it should be OK.0 -
So, if Win7 sees it as an E210, and that is what it is, then what is the problem? It sounds from your last post that Win7 has support built into the system. In any case, on XP at least, you could configure a printer as a "Generic PostScript" device, at least as far as I remember. Since Win7 has "dumbed down" a lot of that sort of thing (anything requiring user intelligence), it is possible/likely that Win7 doesn't directly support a PS printer per se. Don't know until I investigate that when I get to work.0
-
No, W7 does NOT have support for this printer, which is why I try to find another solution. I have tried to force W7 to treat the printer I have configured on the Linux system as a Postscript printer, but it still doesn't work. There is no longer any "Generic Postscript", but one should be able to use, eg an HP Postscript printer driver to produce the right sort of output.
Do you know, would the Ghostscript filter expect the input to be Postscript for a printer like this (I use a filter called 'GDI' or something)?0 -
I finally found the solution.
It was quite bizarre - everything seemed to work as a charm: I connected the printer via UPS, found it immediately in CUPS, printed a test page, which was perfect. I then created a new printer in W7 - the system found it quickly, I installed a Postscript printer (Generic - Windows Colour Thingy), and printed a test page; the printer indicated an error.
After much searching and looking in debug logs for Samba and CUPS, I finally discovered that if I commented out the raw filter setting in CUPS, it worked - I don't remember the exact file and I am not home, but it was in /etc/cups and something with "octet-stream" and "raw".
0
Categories
- 9.9K All Categories
- 29 LFX Mentorship
- 82 LFX Mentorship: Linux Kernel
- 471 Linux Foundation Boot Camps
- 268 Cloud Engineer Boot Camp
- 95 Advanced Cloud Engineer Boot Camp
- 44 DevOps Engineer Boot Camp
- 31 Cloud Native Developer Boot Camp
- 1 Express Training Courses
- 1 Express Courses - Discussion Forum
- 1.6K Training Courses
- 18 LFC110 Class Forum
- 4 LFC131 Class Forum
- 19 LFD102 Class Forum
- 133 LFD103 Class Forum
- 9 LFD121 Class Forum
- 60 LFD201 Class Forum
- LFD210 Class Forum
- 1 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum
- 23 LFD254 Class Forum
- 545 LFD259 Class Forum
- 100 LFD272 Class Forum
- 1 LFD272-JP クラス フォーラム
- 1 LFS145 Class Forum
- 20 LFS200 Class Forum
- 739 LFS201 Class Forum
- 1 LFS201-JP クラス フォーラム
- 1 LFS203 Class Forum
- 37 LFS207 Class Forum
- 296 LFS211 Class Forum
- 53 LFS216 Class Forum
- 45 LFS241 Class Forum
- 40 LFS242 Class Forum
- 33 LFS243 Class Forum
- 10 LFS244 Class Forum
- 27 LFS250 Class Forum
- 1 LFS250-JP クラス フォーラム
- 131 LFS253 Class Forum
- 967 LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 86 LFS260 Class Forum
- 124 LFS261 Class Forum
- 29 LFS262 Class Forum
- 78 LFS263 Class Forum
- 15 LFS264 Class Forum
- 10 LFS266 Class Forum
- 17 LFS267 Class Forum
- 16 LFS268 Class Forum
- 14 LFS269 Class Forum
- 194 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- 207 LFW211 Class Forum
- 148 LFW212 Class Forum
- 892 Hardware
- 213 Drivers
- 74 I/O Devices
- 44 Monitors
- 115 Multimedia
- 206 Networking
- 100 Printers & Scanners
- 85 Storage
- 747 Linux Distributions
- 88 Debian
- 64 Fedora
- 13 Linux Mint
- 13 Mageia
- 24 openSUSE
- 133 Red Hat Enterprise
- 33 Slackware
- 13 SUSE Enterprise
- 354 Ubuntu
- 469 Linux System Administration
- 38 Cloud Computing
- 68 Command Line/Scripting
- Github systems admin projects
- 93 Linux Security
- 77 Network Management
- 107 System Management
- 48 Web Management
- 62 Mobile Computing
- 22 Android
- 26 Development
- 1.2K New to Linux
- 1.1K Getting Started with Linux
- 524 Off Topic
- 127 Introductions
- 210 Small Talk
- 19 Study Material
- 783 Programming and Development
- 257 Kernel Development
- 492 Software Development
- 919 Software
- 255 Applications
- 181 Command Line
- 2 Compiling/Installing
- 76 Games
- 316 Installation
- 46 All In Program
- 46 All In Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)