[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3611
  • Last Modified:

Trying to setup a Sharp MX-M350N Copier/Printer to print from a AS/400

We have a new network Sharp Copier, printer, fax and would like to have it as our main printer because the cost is a lot cheaper to print from.  Has anyone had any experience connecting a Sharp to print from an AS/400?  
0
Aidenous
Asked:
Aidenous
  • 5
  • 5
  • 3
  • +1
2 Solutions
 
MurpheyCommented:
just create an outq and point that to the IP address of your printer.

regards,
Murph
0
 
_b_hCommented:

Sharp printers are supported, looking much like HP printers. This particular printer can be configured with this sample command, using your own IP address or name, and printer name:
CRTDEVPRT DEVD(myprinter) DEVCLS(*LAN) TYPE(3812) MODEL(1) LANATTACH(*IP) PORT(9100) FONT(011) FORMFEED(*AUTOCUT) TRANSFORM(*YES) MFRTYPMDL(*HP8000) RMTLOCNAME('192.168.1.1') SYSDRVPGM(*HPPJLDRV) TEXT('my printer')  

Experiment with your output to see how it is transformed.
Post back any questions!
Barry                                                    
0
 
MurpheyCommented:
Hi Barry,

Please can you explain why you prefer a Printer instead of an outQ ?

Thanks
Murph
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
MurpheyCommented:
Hi Aidenous,

Some more info about the CRTOUTQ.... there are some parameters that are needed to get an HP printer working properly:

Regards,
Murph
CRTOUTQ OUTQ(LIBname/OUTQname)  <= Your outq                     
        RMTSYS(*INTNETADR)                   
        RMTPRTQ('PASSTHRU')
        AUTOSTRWTR(1)                 
        CNNTYPE(*IP)                         
        DESTTYPE(*OTHER)                     
        MFRTYPMDL(*HP5SI)                    
        INTNETADR('xxx.xxx.xxx.xxx')  <= Printers IP-Addr        
        DESTOPT('XAIX XAUTOQ')               
        SEPPAGE(*NO)                         
        TEXT('Sharp MX-M350N Copier/Printer')
        DSPDTA(*YES)                         
        AUTCHK(*DTAAUT)                      

Open in new window

0
 
AidenousAuthor Commented:
I tried both options as a printer and outq and got it to print.  Both ways printed but to the wrong drawer and the orientation is portrait and probably should be landscape.  Any suggestions on those issues and what advantage if any to which way to define the printer?  Thanks
0
 
_b_hCommented:
Where possible, you should use the *LAN device option, since they give simpler access to more writer control options than a remote output queue, such as page ranges and writer messages.
Some user applications, as well as system utilities, route their output by printer device rather than output queue, so using a remote output queue may necessitate a dummy device description anyway.

Host print transform basically looks at the size of the page as defined in the spooled file, and transforms it based on the capabilities of the printer. If the data won't fit portrait, then HPT will rotate the output and pick a font to make the output fit on the page. The first step is always to check the spooled file attributes and see if they match the report data e.g. if the page width is 132, but the program only uses 80 columns, HPT may make the output look like a postage stamp on the page.

For the drawer problem, check if it prints to the source drawer in the splf attributes. There are several places where drawer selection can go wrong. Output can be forced to specific drawers if needed.
0
 
tliottaCommented:
Murph:

A printer definition allows you to provide printer attributes. These can be used by external printer files when programs run to place useful printer control codes directly into the spooled file itself.

Further, by routing through a printer device, you gain significant added control over the spooled file. For example, page-range printing becomes the normal system operation rather than requiring the work-arounds for remote *outqs. Functions such as auto-rotate, reduce, etc., happen naturally.

Whenever possible, I'll always create a printer device. I seldom use remote *outqs except for simple routing between systems and quick emergencies.

Tom
0
 
AidenousAuthor Commented:
Ok, I can get it to print to the correct drawer but it is not condensed and rotated correctly.  I checked the spool file attributes and they are set the same as the program is using.  
0
 
tliottaCommented:
Aidenous:

And did you go with a simple remote output queue or with a device/printer description? What have you created so far?

Tom
0
 
AidenousAuthor Commented:
I did it both ways.  This last time I setup a remote output queue like murphrey2 suggested above and it was close.  It printed correct orientation and condensed but not quite enough.  The last 8 or so characters didn't print.  When printing to another laser an IBM Infoprinter it works fine.
0
 
MurpheyCommented:
you can look if there are any special settings for  your printer for the DESTOPT('XAIX XAUTOQ')  replacement
0
 
AidenousAuthor Commented:
I have setup as a print device.  What controls what drawer output goes to and how can you direct it?
0
 
_b_hCommented:
A lot of things go into drawer selection. You can try changing the source drawer when the splf is created to see if that will address the problem.
For a detailed explanation:
http://www-912.ibm.com/s_dir/slkbase.nsf/1ac66549a21402188625680b0002037e/463b5ac1a40b951286256a8d0055652d?OpenDocument

Post back any questions!
Barru
0
 
MurpheyCommented:
Hi Aidenous,

Before changing the program, you first can manipulate the spoolfile by putting a 2 in front of it by WRKSPLF. If you first change the parameter SAVE to *YES, you dont need to create a spoolfile every time, because the save(*YES) will save the spoolfile in hold status after printing. So by putting a 2 infront of this file, chnage some settings and enter, you can release this file again by putting a 6 in front of it (Release).

Good luck,
Murph
0
 
AidenousAuthor Commented:
Thanks for all the comments.  I still have not had a chance to get this working properly.  
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 5
  • 5
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now