flat assembler
Message board for the users of flat assembler.

Index > Tutorials and Examples > PDFasm - assembles a copy of it's own source to a PDF

Author
Thread Post new topic Reply to topic
Mike Gonta



Joined: 26 Dec 2010
Posts: 243
Mike Gonta 26 Mar 2019, 23:32
PDFasm - assembles a copy of it's own source to a PDF
Select all the text in a PDF viewer and paste into a text file
Usage: fasmg PDFasm.asm


Description: PDFasm - assembles a copy of it's own source to a PDF
Download
Filename: PDFasm.pdf
Filesize: 10.72 KB
Downloaded: 1478 Time(s)


_________________
Mike Gonta
look and see - many look but few see

https://mikegonta.com


Last edited by Mike Gonta on 09 Apr 2019, 18:45; edited 5 times in total
Post 26 Mar 2019, 23:32
View user's profile Send private message Visit poster's website Reply with quote
donn



Joined: 05 Mar 2010
Posts: 321
donn 27 Mar 2019, 13:31
Very cool. Thought the PDF would just be blank, but now I see what you mean by 'of itself.' I've been parsing PDFs a lot at work and am getting more familiar with the tokens. fasmg seems like it can handle text tokens pretty well.

Also wondering how difficult SVG embedding may be or if you have experience with that?


Nice work.
Post 27 Mar 2019, 13:31
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8357
Location: Kraków, Poland
Tomasz Grysztar 27 Mar 2019, 13:41
PDF-quine*! Excellent!

You could also add:
Code:
format binary as 'pdf'    
in the beginning, to make assembly even easier.

________
* Well, technically a cheating one.
Post 27 Mar 2019, 13:41
View user's profile Send private message Visit poster's website Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1150
Location: Russian Federation
comrade 28 Mar 2019, 04:17
Very cool!!
Post 28 Mar 2019, 04:17
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.