Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing in Accpac

Status
Not open for further replies.

ProgramHex

IS-IT--Management
Jan 13, 2009
18
US
Hello,
We have not had this problem before and now the program suddenly says that it can not print.
All users can print from other programs to their printers, just not from accpac.
How would I go about reinstalling the printers? Should that that would fix the problem

error :" Print Problem.
Check to see if your printer is connected properly and ready to operate. If it is, choose exit, then check to see if your print destinations are correct
 
Accpac version?
How is Accpac deployed? Running on desktop, terminal server, web deployed?
How long is the printer name? Extremely long printer names are known to cause printing problems.
 
version 7.0 running on a win 2k server- shared, users access their exe files by making a shortcut to them on their desktops from the server where it is located.
things were working fine up until today.

Printer names are short, here is an example of our picking slips that has been used to change printer:

SET /P UserType=Please Enter The Number Of Your Closest Printer


IF %UserType%==1 GOTO Sales
IF %UserType%==2 GOTO Avi
IF %UserType%==3 GOTO Admin
IF %UserType%==4 GOTO UPS

GOTO ERROR

:Sales
ECHO You have Selected Sales
Net use LPT2 /DELETE
Net use LPT2 \\ups2\hp2300ship
REM ECHO Net use LPT3 /DELETE
REM ECHO Net use LPT3 \\programmer6\panasonic
Net use LPT3 /DELETE
Net use LPT3 \\ccfile01\Dell1720
GOTO WORKED

:Avi
ECHO You have Selected Aviation
Net use LPT2 /DELETE
Net use LPT2 \\CCFile01\HP2100AVI
Net use LPT3 /DELETE
Net use LPT3 \\programmer6\panasonic
GOTO WORKED

:Admin
ECHO You have Selected Administration
Net use LPT2 /DELETE
Net use LPT2 \\CCFile01\AdminPS
Net use LPT3 /DELETE
Net use LPT3 \\programmer6\panasonic
GOTO WORKED

:UPS
ECHO You have Selected UPS

REM ACCPAC EXPECTS THAT LPT3 WILL POINT TO THE CONFIRMATIONS PRINTER
REM ACCPAC EXPECTS THAT LPT2 WILL POINT TO THE INVOICES PRINTER.
Net use LPT2 /DELETE
Net use LPT2 \\dc1\sales
Net use LPT3 /DELETE
Net use LPT3 \\UPS2\HP2300Ship
GOTO WORKED

:WORKED
ECHO COMPLETE
Pause
GOTO END

:ERROR
ECHO ERROR
ECHO Please Select Either 1,2, 3, OR 4
pause
GOTO END

:END
 
Version 7.0 - this must be Accpac Plus.
Check your NET USE printer mappings and the printer port settings in Accpac Plus - press F3, Printer, Print and press TAB.
 
Im sorry, what is my net use printer mapping?
 
Those are the DOS printer mappings you see in the batch files, i.e. NET USE LPT2 \\dc1\sales
Open a DOS box and type NET use and press enter, this will show which printers are mapped. This must match with your printer settings in Accpac Plus.
 
I see, I see. The Net use is showing that LPT2 and 3 ports go to the right locations.. however, still nothing when it goes to print.

 
To test the printer side:
Create a text file with some text in it (use Notepad), then open a DOS box and type in the following:

TYPE filename.txt > LPT2
TYPE filename.txt > LPT3

and see if anything prints on LPT2 and LPT3. Replace filename.txt with the name of the file you created.
 
There's the problem, your users do not have rights to the printer share. Try logging in as administrator and test again.
 
I am currently logged in as administrator. printers are shared. they are able to print from anywhere but accpac
 
You cannot print from DOS either, so there is a problem somewhere. Resolve the printing from DOS and it should start printing from Accpac.
 
On second thoughts did you include TYPE in the command?
As in
Code:
type test.txt > lpt2
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top