Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Infor / Lawson Platforms
S3 Systems Administration
Interfacing batch command files with PRTDEF
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
JVENGLEy
Past 24 Hours:
1
Prev. 24 Hours:
0
Overall:
5209
People Online:
Visitors:
315
Members:
0
Total:
315
Online Now:
New Topics
Lawson Add-Ins for Microsoft Office
Deleting an Orphan Time Record with MS Add-ins
12/13/2025 7:26 PM
I have discovered an Orphan Time Record when dumpi
Lawson S3 HR/Payroll/Benefits
Secure 2.0
12/8/2025 9:06 PM
Has anyone using S3 V10 for Benefits been able to
Lawson Add-Ins for Microsoft Office
More.... ic81.2
12/5/2025 10:51 PM
We build our PAR's with MS Addins using IC81 a
Lawson Add-Ins for Microsoft Office
Uploads
11/20/2025 3:32 AM
The Next button has stopped functioning on the upl
S3 Systems Administration
Lawson Security Admin (LSA) - Securing Print Manager to self only
10/24/2025 6:27 PM
Looking for someone who would be willing to share
Lawson Add-Ins for Microsoft Office
Lawson Add-in
9/30/2025 6:51 PM
I am looking for a Lawson Add-ins query to add new
Lawson S3 Procurement
Anyone getting PO 0000 not found for company error in PO23?
9/30/2025 2:45 AM
Anyone getting PO 0000 not found for company error
Lawson Add-Ins for Microsoft Office
PO20 - Cancel PO via Add-in
9/25/2025 8:03 PM
Is it possible to cancel PO's using add-ins? I
S3 Systems Administration
S3 Payroll - PayStubs
9/18/2025 6:58 PM
Looking for a reliable solution to streamline the
S3 Systems Administration
Quick Access report
8/25/2025 7:17 PM
Looking for a good way to see who has access Lawso
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chesca
1042
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Infor / Lawson Platforms
S3 Systems Administration
Interfacing batch command files with PRTDEF
Please
login
to post a reply.
4 Replies
0
Subscribed to this topic
28 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
ArthurThum
Advanced Member
Posts: 25
New Poster
Congrats on posting!
4/12/2012 1:04 AM
Does anyone know how to interface information such as JOBID, Print File name and path and USERID to a batch command file through a printer definition PRTDEF so I can identify, find and process Lawson reports in another system? My thoguhts were to set up a generic print definition and pass through it to a script, the JOB ID, USER ID Step and file name so I could pick up the file at print time and send it to an external system. Can I pass this information or acquire it somehow on the PRTDEF? or pass it to the script somhow when I print?
ArthurThum
Advanced Member
Posts: 25
New Poster
Congrats on posting!
4/13/2012 2:15 AM
Split
OK lets try this since noone bit at this. On the PRTDEF command how can the USERID and FILENAME be passed to a command on the PRTDEF?
SP
Veteran Member
Posts: 122
4/13/2012 1:35 PM
Split
What are you trying to accomplish? Take PRTDEF out the picture for a
moment and describe to us the business problem you are trying to solve. I
can only speak for myself, but your original post is a bit confusing.
On Thu, Apr 12, 2012 at 10:29 PM,
wrote:
> [image: LawsonGuru.com Logo] <
https://www.lawsonguru.com/
> S3 Systems
> Administration Forum Notification A message was posted to a thread you
> are tracking. *RE: Interfacing batch command files with PRTDEF* Posted by:
> *aathum*
> 04/12/2012 09:15 PM OK lets try this since noone bit at this. On the
> PRTDEF command how can the USERID and FILENAME be passed to a command on
> the PRTDEF?
> ------------------------------
>
> To view the complete thread and reply via your browser, please visit:
>
>
https://www.lawsonguru.co...d-files-with-prtdef/
>
> You were sent this email because you opted to receive email notifications
> when someone posted and/or responded to a message on this forum.
> To unsubscribe to this thread please visit your user profile page and
> change your subscription options.
>
> Thank you,
> LawsonGuru.com
>
ArthurThum
Advanced Member
Posts: 25
New Poster
Congrats on posting!
4/14/2012 11:31 AM
Split
All right, Lets try something a little less obtuse.
1. Take a print file from the print manager. Any file out there
2. Direct it to a third party spooling application. Doc Express is not and will not be installed or considered.
3. The file can be spooled to this third party app using a command line command lpr.
4. This command requires an IP address, filename and a couple of parms that are recognized by the third party app to spool to a particular printer, select forms etc.. Just one command and pretty simple.
5. The number of possible destinations and permutations of print file to forms or locations might be prohibitive to set up a printer definition for each one of the possibilities.
So how do I get a print file from print manager, identify the file and its location and send it to an lpr command at the time of printing? PORTAL and LID
Hope this clarifies it for you a little bit more. Thanks for responding.
JimY
Veteran Member
Posts: 510
7/29/2013 10:52 PM
Split
Just curious. Did you ever get this resolved? I am trying to execute an lpr command in a script from Lawson Print Manager and it is throwing errors that scroll to fast so I can't see them. The script works fine from the command line. Thank you.
Please
login
to post a reply.