Page 1 of 2

Using SRW to remotely print?

Posted: Tue Aug 15, 2006 1:06 pm
by bluemike
I seen to remember an older version of Scalix being able to have a print option in the rules wizard. But I don't see it now. basically, I just want all incoming emails to print to a shared printed. Can that be done?

Posted: Tue Aug 15, 2006 2:46 pm
by ScalixSupport
Hi Mike,

Can you open the rules wizard, click on Actions, then click on the drop down menu, screenshot that and post it here? "Print" should be the second entry from the bottom (just above Delete).

Thanks,
Rachel

Posted: Tue Aug 15, 2006 2:54 pm
by bluemike
Sorry, I should have been more specific. The print option is still there, but now it is only client-side and required Outlook to be open.

I thought that in ver 9 I could enter a path to a shared netowrk printer.

Posted: Tue Aug 15, 2006 4:30 pm
by ScalixSupport
You must be looking at the Outlook Rules and that print rule is a client-side rule. However, if you go to the web-based rules wizard you can create a print rule that prints as a server based rule.

Thanks,
Rachel

Posted: Tue Aug 15, 2006 5:25 pm
by bluemike
Indeed I was! Thanks...

However, now I have another question. In the rw page for printing it asked for my printer and my printer options. Is it just looking for the IP of my network printer there? Or do I need to put a 'socket://' (for example) in front?

And for the options... I have no idea what to enter there.... just a text box.

Posted: Tue Aug 15, 2006 5:32 pm
by bluemike
Here are the event logs. As you can see I am trying several different cominations of IP & port numbers. I know this printer is addressable over the netowrk, as I print to it all the time.... any ideas?


WARNING Print Server (Print Server ) 08.15.06 14:13:45
[OM 16227] A Print request for user Mike Baker/emailserver,bbpi-pdc has failed:
the Printer ( 192.168.111.8 ) was unavailable.


WARNING Print Server (Print Server ) 08.15.06 14:17:24
[OM 16227] A Print request for user Mike Baker/emailserver,bbpi-pdc has failed:
the Printer ( socket://192.168.111.8:9100 ) was unavailable.


WARNING Print Server (Print Server ) 08.15.06 14:25:42
[OM 16227] A Print request for user Mike Baker/emailserver,bbpi-pdc has failed:
the Printer ( socket://192.168.111.8:9100 ) was unavailable.


WARNING Print Server (Print Server ) 08.15.06 14:30:30
[OM 16227] A Print request for user Mike Baker/emailserver,bbpi-pdc has failed:
the Printer ( 192.168.111.8:9100 ) was unavailable.

Posted: Tue Aug 15, 2006 5:58 pm
by dkelly
You have to configure the printer on your server first and then reference it using it's name.

Cheers

Dave

Posted: Tue Aug 15, 2006 6:06 pm
by bluemike
Okay. Well the printer is configured on the same server that Scalix is running on, and it's called konica. But I am still getting this (I tried with & without slashes):

WARNING Print Server (Print Server ) 08.15.06 15:02:58
[OM 16227] A Print request for user Mike Baker/emailserver,bbpi-pdc has failed:
the Printer ( //konica ) was unavailable.


WARNING Print Server (Print Server ) 08.15.06 15:04:10
[OM 16227] A Print request for user Mike Baker/emailserver,bbpi-pdc has failed:
the Printer ( konica ) was unavailable.

I have set to printer up throught the 'printer configuration' in FC4 and my test pages come out fine. I am hoping this just a syntax error on my part...

Posted: Thu Sep 28, 2006 6:59 pm
by bluemike
bump

I have to get this to work. Anyone?

Posted: Fri Sep 29, 2006 11:18 am
by btisdall
How exactly did you configure FC4 to use the printer?

Posted: Fri Sep 29, 2006 11:48 am
by bluemike
On the server, I went to 127.0.0.1:631 and configured the printer using CUPS. Then, when I went to Desktop/System Settings/Printing my printing queue appeared with a printer called 'konica'

In CUPS, the print address is socket://192.168.111.8:9100 and the CUPS test page prints just fine.

When printing from other applications, like FIrefox, the printer is listed like this:

PostScript/konica

Posted: Fri Sep 29, 2006 8:30 pm
by btisdall
bluemike wrote:In CUPS, the print address is socket://192.168.111.8:9100 and the CUPS test page prints just fine.


Hmmm, that looks like the Jetdirect port of your printer that CUPS is talking to, but your applications need to talk to CUPS on <address[:port]/queuename>, eg:

Code: Select all

ipp://127.0.0.1/printers/printername


or

Code: Select all

http://127.0.0.1:631/printers/myprinter


Take a look in /etc/cups/printers.conf (which you've already written using system-config-printer) for the correct value to use.

Posted: Sat Sep 30, 2006 2:53 am
by florian
Take a little step back please! ;-)

The printer name that Scalix is looking for is actually a Scalix Printer Name and has nothing to do with CUPS or anything else on the Linux side.

The Printer must be defined in /var/opt/scalix/sys/print.cfg

The file should be self-explaining.

Cheers,
Florian.

Posted: Mon Oct 02, 2006 4:19 pm
by bluemike
Wow. I've been fighting with this for months! And that's all there was to it? Is that documented anywhere? I thought I had read everything about everything... :)

But that is pretty cool.

Thanks Florian!

Posted: Mon Oct 02, 2006 4:43 pm
by florian
don't know - but it's pretty old and coming from the HP OpenMail days which is part of the legacy of our server core. I used to teach trainings about this about 12 years ago! ;-)

Florian.