Printing "garbage" *SOLVED*

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
ChrisW
Newbie
Newbie
Posts: 2
Joined: Fri Jun 06, 2008 5:42 pm

Printing "garbage" *SOLVED*

Post by ChrisW »

I'm using wine v1.0 rc2 under debian lenny. My CUPS printer (Brother HL2030) works with no problems under linux. I've been trying to get printing from wine working without success. This is what I have tried:

1) renamed the existing ~/.wine directory to force a clean wine config
2) run: wine notepad
3) created some text in notepad
4) File->print in notepad - my CUPS printer shows as the default printer and what look like the correct properties
5) Click "OK" to print and some lines of "garbage" are printed
6) The "garbage" is probably a clue to what is going wrong - it looks like this:

Code: Select all

-12345X@PJL
@PJL SET MEDIATYPE=REGULAR
-12345X@PJL RESET
Any help gratefully received.

Thank you.
Last edited by ChrisW on Sun Jun 08, 2008 2:40 pm, edited 1 time in total.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

What version of CUPS are you running, and is your printer a network printer? The closest thing I could find to your problem was an old bug that affected network printing on Ubuntu/Debian systems:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=382936
https://bugs.launchpad.net/cupsys/+bug/55828
ChrisW
Newbie
Newbie
Posts: 2
Joined: Fri Jun 06, 2008 5:42 pm

Post by ChrisW »

CUPS v1.3.7 on the machine running Wine, and it is a network printer on a debian etch machine with CUPS v1.2.7.

Anyway thanks for your reply because it prompted me to investigate properly (which I should have done in the first place, sorry) and it turns out an update to CUPS on the lenny machine a couple of days earlier had broken the network printing (without me noticing until I was testing an app under Wine). CUPS is now fixed and printing including that from Wine is working.
Locked