From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Anand Tamariya Newsgroups: gmane.emacs.devel Subject: Basic WYSIWYG printing in GNU Emacs (Unicode + Image) Date: Sat, 3 Jul 2021 16:22:26 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000cba17f05c635ded3" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4037"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 03 12:53:41 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lzdHJ-0000rH-9B for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Jul 2021 12:53:41 +0200 Original-Received: from localhost ([::1]:47588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzdHH-00042o-By for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Jul 2021 06:53:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzdGK-0003Mn-Pl for emacs-devel@gnu.org; Sat, 03 Jul 2021 06:52:40 -0400 Original-Received: from mail-il1-x134.google.com ([2607:f8b0:4864:20::134]:42640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzdGJ-0007uK-6Y for emacs-devel@gnu.org; Sat, 03 Jul 2021 06:52:40 -0400 Original-Received: by mail-il1-x134.google.com with SMTP id h3so12230481ilc.9 for ; Sat, 03 Jul 2021 03:52:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Pd8jyx6PZswh4rZy63lLgFjFXOO3udQsbOj9yfTcZ8Y=; b=pNhsC2u+AbG1vHNN3tIR5ZtS3Kjc2d7FKwZnk9eaj8jlNCfM/3M27VS0oEeqdVCYz6 1JFQjXu4FOT2GRKrMdnEfGVUZ6H0jJL1KFzUUm9kyrP+F1Mh+62AnnGtP3yTy0qgzvyB zYXTWQ/sgStYusxBfzCrTxJsrECKvqoRdYM0M1rkUEnbcM2+DhciRKvGhSAUwH2dwYKd Bx7FEA/X+IFPAA8HKT1Ep0WkXJvRMHiS3/kiXrpdx52h9D0S96xUp0WpwbYlp98tn8tx Q6Kpm+2A+AInXNfwJBcudf4zObYjQcEVzu+6PuXjlj00RMOr3+NZHE34JVcJEPx5TL0H PsTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Pd8jyx6PZswh4rZy63lLgFjFXOO3udQsbOj9yfTcZ8Y=; b=ljSinNKmf1Mb63R4wevTGDkuNfJhUi1e6peQzFC1f+Cx17PC3r6Qro5MRu6PqA8a8O e6gHCaFdPELbD5bk4DbGkDdYGSM9erUQilb4BG2zuCoTdYrF/+6zwwxelEAXzckpc95M tiI2t8w6q7J1fQAbwLwk8ir/c/VbLYbmpjlYIatbw+Zn+wI67IGEq7M4R7fvmR9J66cI 8I8nTR2VKMorGrp59Gz0eynpXuhewW8sp0Hqmo5QNMdhQEw2bhzMtQuDeWDypFh0t28Z A1VR9LVJGpx8pthcP9n7xbFwmhwLHsZg4MxsmQ6WiLJ8RZ32GJmB9mTwqDQ2vAaeScxP Hdcg== X-Gm-Message-State: AOAM533yHtS2/1pgZN7UBrWGxt9HoQJODpYbaPNULG8sBB5P/ff7Fr8y IYNJH98+zH0dX/ySyKkSunfh+7ULX3hnurawRB7e08eUtIg= X-Google-Smtp-Source: ABdhPJymaRiduYOwDuKjyySfozr79y03YZ+BFPMWc6/3UMn1aFqho9Y9P9/0hcAP4CUImDmt9FZo/uj99SMLeHKF38M= X-Received: by 2002:a05:6e02:219c:: with SMTP id j28mr3081933ila.56.1625309557005; Sat, 03 Jul 2021 03:52:37 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::134; envelope-from=atamariya@gmail.com; helo=mail-il1-x134.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:271110 Archived-At: --000000000000cba17f05c635ded3 Content-Type: text/plain; charset="UTF-8" Here is my next iteration on basic WYSIWYG printing in GNU Emacs for Unicode text. Now you can print Unicode text using TrueType fonts. - Run M-x ps-print-buffer-with-faces to send output to printer. - Run C-u M-x ps-print-buffer-with-faces to send output to file (PS format). *Code:* https://gitlab.com/atamariya/emacs/tree/dev *Screenshots:* https://lifeofpenguin.blogspot.com/2021/06/basic-wysiwyg-printing-in-gnu-emacs.html --000000000000cba17f05c635ded3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Here is my next= iteration on basic=20 WYSIWYG printing in GNU Emacs for Unicode text. Now you can print=20 Unicode text using TrueType fonts.

  • Run M-= x ps-print-buffer-with-faces to send output to printer.

  • Run C-u M-x ps-print-= buffer-with-faces to send output to file (PS format).

<= p class=3D"gmail-_1qeIAgB0cPwnLhDF9XSiJM">Code: https://gitlab.com/atamariya/emacs/tree/dev

=

Screenshots: https://lifeofpenguin.blogspot.com/2021/06/basic-wysi= wyg-printing-in-gnu-emacs.html

--000000000000cba17f05c635ded3--