Print a Valentines card on Linux

BlitzMax Forums/BlitzMax Programming/Print a Valentines card on Linux

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Can I call the command line from inside a BlitzMax program?

It works the same as on Windows, basically. System_(command$) should work. If you include the PDF as incbin, you can write it somewhere temporarily and pass it as an argument. It should also be possible to pipe the data directly to lpr, but I don't know how to do that from Blitz.