Page 1 of 1
Connect to printer on Windows 7
Posted: Sat Jul 13, 2013 3:48 am
by kfank
I have a 64-bit Ubuntu VM running on a 64-bit Win7 host (named MINNIE2) with a Canon iP4700 connected to the USB port. Windows uses the manufacturer provided driver and prints without a problem. TurboPrint can see the port as Canon iP4700 series@MINNIE2 as shown in the add/edit dialog:
- TurboPrint Add/Edit dialog
- Config.PNG (49.54 KiB) Viewed 11581 times
However, I cannot print a test page from linux. It just sits in the print queue:
- Queue.PNG (25.63 KiB) Viewed 11581 times
The printer properies dialog shows printer state as stopped:
- Properties.PNG (54.93 KiB) Viewed 11581 times
The Policies section of Printer Properties shows the Enabled checkbox not checked. I observe that when it is enabled (checked) and a print job is sent, it clears the Enabled checkbox when the print job fails.
Please advise how to configure this.
Kurt
Re: Connect to printer on Windows 7
Posted: Sat Jul 13, 2013 7:45 pm
by kfank
More info:
The VM is 64-bit Ubuntu 12.04 (precise)
Here is the Policies section of the printer properties dialog:
- properties.PNG (56.07 KiB) Viewed 11578 times
/var/log/turboprint/print.log (last job from sending test page):
- #######################################################
NEW PRINT JOB Sat Jul 13 11:56:14 PDT 2013 (pstoturboprint 2.30-1)
job-id 18
user kfank
title Test Page
copies 1
options job-uuid=urn:uuid:ce47fb5c-97d2-3d9c-7e8f-effd958b0147 job-originating-host-name=localhost time-at-creation=1373741773 time-at-processing=1373741773
file
ppdfile /etc/cups/ppd/iP4700-TurboPrint.ppd
queue iP4700-TurboPrint
process info: uid=7(lp) gid=7(lp) groups=7(lp)
test directory access:
drwxr-xr-x 2 root root 24576 Jul 12 19:47 /usr/share/turboprint/printers
linux-vdso.so.1 => (0x00007fff2c52e000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fdca25db000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fdca221c000)
/lib64/ld-linux-x86-64.so.2 (0x00007fdca28f5000)
/usr/bin/tpprint -v2 -l/var/log/turboprint/print.log '--username=kfank' '--ppdfile=/etc/cups/ppd/iP4700-TurboPrint.ppd' --psfeatures '---job-uuid=urn:uuid:ce47fb5c-97d2-3d9c-7e8f-effd958b0147' '---job-originating-host-name=localhost' '---time-at-creation=1373741773' '---time-at-processing=1373741773' /tmp/pstoturboprint17896.chunk /tmp/pstoturboprint17896.var
Searching PPD file and postscript header for options...
check_flag_file: opening /var/spool/turboprint/kfank/prv/iP4700-TurboPrint
check_flag_file: opening /var/spool/turboprint/kfank/sml/iP4700-TurboPrint
----------- Start of var file -----------
PDFFILE=1
GSPPDFOUND=1
GSCOLORMODE=2
GSCOLORBITS=8
GSXDPI=600
GSYDPI=600
GSWIDTH=5100
GSHEIGHT=6600
TPWIDTH=8500
TPHEIGHT=11000
TPXOFFSET=0
TPYOFFSET=0
DUPLEXMEDIA=Letter
DUPLEX=0
PREVIEW=0
NOPRINT=0
BORDERLESS=0
PVXDPI=93
PVYDPI=93
PVWIDTH=790
PVHEIGHT=1023
----------- End of var file -----------
tpstdin --parsedsc result=0
GSRESULT=GPL Ghostscript Zedo2 9.05 (2012-02-08) GSVERSION=Zedo GSZEDODEVICE=1
GSCOMMANDLINE=gszedo -sDEVICE=zedo -dZCopies=1 -dZBits=24 -sZPixSize=5100x6600 -r600x600 -dSAFER -dNOPAUSE -dBATCH
TPCOMMANDLINE=/usr/bin/tpprint -a0 -e1 -s8500x11000 -p0x0 -v2 -l/var/log/turboprint/print.log '---job-uuid=urn:uuid:ce47fb5c-97d2-3d9c-7e8f-effd958b0147' '---job-originating-host-name=localhost' '---time-at-creation=1373741773' '---time-at-processing=1373741773' '--ppdfile=/etc/cups/ppd/iP4700-TurboPrint.ppd' --psheader=/tmp/pstoturboprint17896.chunk --jobid=18 '--username=kfank' '--title=Test Page'
COMPLETEPIPE=/usr/lib/turboprint/tpstdin --paste /tmp/pstoturboprint17896.chunk | gszedo -sDEVICE=zedo -dZCopies=1 -dZBits=24 -sZPixSize=5100x6600 -r600x600 -dSAFER -dNOPAUSE -dBATCH -sOutputFile=/tmp/pstoturboprint17896.fifo - >> /var/log/turboprint/print.log
PREVIEWPIPE=
----------- Start of print job -----------
GPL Ghostscript Zedo2 9.05 (2012-02-08)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
starting child process
tpprint 2.30-1 x64 (10-MAY-2013) - TurboPrint printer driver
Copyright (C)ZEDOnet GmbH, Irsee, Germany. All rights reserved.
13-Jul-2013 11:56
PPD file: /etc/cups/ppd/iP4700-TurboPrint.ppd
header file: /tmp/pstoturboprint17896.chunk
Could not open freepipes pipe /var/spool/turboprint/kfank/fd
Searching PPD file and postscript header for options...
interpret_ps: no output file specified
::set_info_paths: setting preview file to /var/spool/turboprint/kfank/zmf/18.zmf
Processing pages 1 through 1.
Page 1
Loading NimbusMonL-Regu font from %rom%Resource/Font/NimbusMonL-Regu... 3617784 2067861 2241560 949375 3 done.
Filetype=PBM Plusbits_per_pixel=32 bytes_per_line=20400 width=5100 height=6600
RGB mode 8bit
Printer=Canon_PIXMA_iP4700; Module=Canon; Id=iP4600
Colormode=2; Cartridge=0=Color; Quality=1=High; Paper=0=Plain paper
Pagesize=1=US-Letter; Paper Input=0=Auto Select; Paper Output=0=Front
Duplex=0=Off; Copies=1; Mirror=0; Dithering=0; Flip=0
Page x=4800 y=6409; AppDpi x=600 y=600; DitDpi x=600 y=600;
PrnDpi x=600 y=600; Overlay=0
Quiet mode=Off (0:1,0,0,0); Ink Drying Wait Time=3-default (1:2,3,0,0); Paper Gap - Prevent paper abras=Default (2:3,0,0,0);
tpfile::get_patchsample_table: paper=HP Home&Office paper
patches; linmode=density
table::build_gamma_table: i=0 color=4 gamma=100 max=100 saturation=100
gamma 100 max 100 saturation 100 for channel 0
correction=32767
table::build_gamma_table: i=1 color=5 gamma=100 max=100 saturation=100
gamma 100 max 100 saturation 100 for channel 1
correction=33855
table::build_gamma_table: i=2 color=6 gamma=100 max=100 saturation=100
gamma 100 max 100 saturation 100 for channel 2
correction=34539
table::build_gamma_table: i=3 color=7 gamma=100 max=100 saturation=100
gamma 100 max 100 saturation 100 for channel 3
correction=34965
shadow: 0 => adjust 100 min 50/10 max 50; grey: a=0 b=0; colorspace=APPLE; cmykspace=0; intent=perceptual; daylight = 6500K
multi_profile_switch=150 multi_c2_switch=100 multi_m2_switch=100
ucr_up=128; max_ink=638; ucr_add=0
polyfit mode=0 channels=4 terms=57 patches=528
bright_cyan_fac=0 bright_magenta_fac=0
black_fac=100 cyan_fac=52 magenta_fac=56 yellow_fac=35
printer white:l=933 a-006 b+000
printer white poly:l=933 a-006 b+000
printer black:l=223 a-010 b+028
printer black poly:l=211 a-001 b+032
printer darkest poly:l=211 a-001 b+032
black l=00 a+00 b+00 => l=211 a-001 b+032: K99 C00 M00 Y00 c00 m00 k00 g00
black94 l=06 a+00 b+00 => l=270 a+008 b+009: K77 C64 M56 Y49 c00 m00 k00 g00
black87 l=17 a+00 b+00 => l=323 a+007 b-001: K55 C71 M59 Y50 c00 m00 k00 g00
black75 l=34 a+00 b+00 => l=432 a+000 b-019: K13 C60 M53 Y47 c00 m00 k00 g00
black62 l=48 a+00 b+00 => l=536 a+000 b-019: K00 C40 M35 Y36 c00 m00 k00 g00
black50 l=60 a+00 b+00 => l=627 a-001 b-019: K00 C28 M23 Y25 c00 m00 k00 g00
black37 l=71 a+00 b+00 => l=710 a-002 b-019: K00 C19 M14 Y17 c00 m00 k00 g00
black25 l=82 a+00 b+00 => l=789 a-003 b-019: K00 C12 M08 Y10 c00 m00 k00 g00
black12 l=91 a+00 b+00 => l=863 a-002 b-018: K00 C06 M03 Y04 c00 m00 k00 g00
white l=99 a+00 b+00 => l=932 a-007 b-003: K00 C00 M00 Y00 c00 m00 k00 g00
cyan l=89 a-54 b-17 => l=777 a-108 b-213: K00 C30 M00 Y00 c00 m00 k00 g00
magenta l=64 a+87 b-52 => l=643 a+471 b-127: K00 C00 M55 Y00 c00 m00 k00 g00
yellow l=97 a-14 b+86 => l=871 a-064 b+634: K00 C00 M00 Y66 c00 m00 k00 g00
red l=58 a+77 b+70 => l=573 a+444 b+363: K00 C00 M91 Y99 c00 m00 k00 g00
green l=86 a-84 b+72 => l=719 a-271 b+429: K00 C22 M00 Y70 c00 m00 k00 g00
blue l=32 a+60 b-105 => l=437 a+109 b-393: K00 C91 M53 Y00 c00 m00 k00 g00
canon::setup_printer_info: number of channels: 4
canon_info.model_level=5
canon::setup_printer_info: multi raster mode
canon::setup_printer_info: bits per pixel: 2
canon::setup_printer_info: multiraster package size=16
canon::setup_printer_info: MP170/MX300/MG2100/iP4500/iP4600/iP5300 mode
setting info to 2 bit 3 levels for color=5
setting info to 2 bit 3 levels for color=6
Canon init string: esc(c 30 0 2 esc(J 10
esc(t 80 80 1 esc(l 3e 0
esc(p 281 0 1e0 7
Colormatch file=CLI521; Curves=600dpi_plain_ip4600; Table=plain_paper
Report at end of pdrive_class::begin_page
Total memory usage=1305939
calculate_dim: print left=0 top=0 width=4800 height=6409
calculate_dim: section left=150 top=70 width=4800 height=6409
check_add_logo returned 0
Printed section of picture:
left=150 top=70 width=4800 height=6409
Printer: resolution x_dpi=600 y_dpi=600 color_mode=2
Page - printable area in printer pixels:
left=150 top=70 width=4800 height=6409
Print size in printer pixels, relative to printable area:
left=0 top=0 width=4800 height=6409
ERROR:
inifile::write: could not open output file
/var/spool/turboprint/kfank/iP4700-TurboPrint.ink
Time for <Profile> = 240
Time for <Color> = 120
Time for <Dither> = 390
Time for <Print> = 20
Time for <Total> = 870
Line counters: skip=0; bitmap=0; others=6409; 8bit=0; white=8; b/w=4521
Color 0 sum: 19
Color 1 sum: 17
Color 2 sum: 19
Color 3 sum: 20
total sum: 75
pixmap_class::open: can't read magic header
print_page: end of input file
Report at end of pdrivecontrol_class::release_printer
Total memory usage=0
child process terminated
ERROR:
inifile::write: could not open output file
/var/spool/turboprint/kfank/iP4700-TurboPrint.job
------------ End of print job - result = 0 ------------
job cancelling procedure - TPPID=17918 GSPID=17920 PVPID=
------------ END of tpprint filter ------------
/var/log/cups/error_log:
- E [13/Jul/2013:07:43:17 -0700] Unknown directive SystemGroup on line 16 of /etc/cups/cupsd.conf.
W [13/Jul/2013:07:43:18 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-Gray..' already exists
W [13/Jul/2013:07:43:18 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-RGB..' already exists
W [13/Jul/2013:07:43:18 -0700] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-iP4700-TurboPrint' already exists
W [13/Jul/2013:11:34:53 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-Gray..' already exists
W [13/Jul/2013:11:34:53 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-RGB..' already exists
W [13/Jul/2013:11:34:53 -0700] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-iP4700-TurboPrint' already exists
E [13/Jul/2013:11:36:43 -0700] [Job 14] Print file was not accepted.
E [13/Jul/2013:11:41:59 -0700] [Job 14] Stopping unresponsive job!
W [13/Jul/2013:11:45:28 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-Gray..' already exists
W [13/Jul/2013:11:45:28 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-RGB..' already exists
W [13/Jul/2013:11:45:28 -0700] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-iP4700-TurboPrint' already exists
W [13/Jul/2013:11:45:28 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-Gray..' already exists
W [13/Jul/2013:11:45:28 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-RGB..' already exists
W [13/Jul/2013:11:45:28 -0700] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-iP4700-TurboPrint' already exists
E [13/Jul/2013:11:45:45 -0700] [Job 15] Print file was not accepted.
W [13/Jul/2013:11:46:18 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-Gray..' already exists
W [13/Jul/2013:11:46:18 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-RGB..' already exists
W [13/Jul/2013:11:46:18 -0700] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-iP4700-TurboPrint' already exists
W [13/Jul/2013:11:46:18 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-Gray..' already exists
W [13/Jul/2013:11:46:18 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-RGB..' already exists
W [13/Jul/2013:11:46:18 -0700] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-iP4700-TurboPrint' already exists
E [13/Jul/2013:11:46:24 -0700] [Job 15] Print file was not accepted.
W [13/Jul/2013:11:46:28 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-Gray..' already exists
W [13/Jul/2013:11:46:28 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-RGB..' already exists
W [13/Jul/2013:11:46:28 -0700] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-iP4700-TurboPrint' already exists
E [13/Jul/2013:11:47:30 -0700] [Job 16] Print file was not accepted.
E [13/Jul/2013:11:52:46 -0700] [Job 16] Stopping unresponsive job!
W [13/Jul/2013:11:53:02 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-Gray..' already exists
W [13/Jul/2013:11:53:02 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-RGB..' already exists
W [13/Jul/2013:11:53:02 -0700] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-iP4700-TurboPrint' already exists
E [13/Jul/2013:11:53:14 -0700] [Job 17] Print file was not accepted.
W [13/Jul/2013:11:55:08 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-Gray..' already exists
W [13/Jul/2013:11:55:08 -0700] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'iP4700-TurboPrint-RGB..' already exists
W [13/Jul/2013:11:55:08 -0700] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-iP4700-TurboPrint' already exists
E [13/Jul/2013:11:56:20 -0700] [Job 18] Print file was not accepted.
Also, don't know if this is relevant:
- kfank@kfank-VirtualBox:/etc/cups$ dpkg -l | grep cnij
ii cnijfilter-common 3.50-2ubuntu4 IJ Printer Driver for Linux.
Re: Connect to printer on Windows 7
Posted: Mon Jul 15, 2013 9:49 am
by zedonet
Hello,
the log files show no problem except that the print data cannot be transferred to the Windows computer.
You could try to configure the Windows network printer manually: Open TurboPrint Control, dialog "Edit printer", select "Printer is"="other printer", "Connection"="Windows Netowrk printer".
In the fields "Server" and "Printer", enter the name of the Windows 7 computer ("MINNIE2") and the name of the Windows printer share as visible in the Windows printer properties dialog, tab "Sharing" (probably "Canon iP4700 series").
Re: Connect to printer on Windows 7
Posted: Tue Jul 16, 2013 7:29 am
by kfank
I used Other Printer/Windows Network Printer as suggested and had to replace the server name with an IP address then it worked. Thanks!